package org.zhadoop.stream.cql.exception;

import org.zhadoop.streaming.exception.ErrorCode;

/**
 * 在antlr 解析SQL 语句的时候，由于SQL错误，而抛出的解析错误
 * @author zwd
 *
 */
public class ParseException extends SemanticAnalyzerException {

	private static final long serialVersionUID = -6511110957681347131L;

	
	public ParseException(ErrorCode errorCode, String... errorArgs) {
		super(errorCode, errorArgs);
	}
	
	public ParseException(Throwable cause,ErrorCode errorCode, String... errorArgs){
		super(cause,errorCode,errorArgs);
	}
	
}
